Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id JAA08027 for <kermit.misc@watsun.cc.columbia.edu>; Mon, 7 Oct 1996 09:42:47 -0400 (EDT)
Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.7.5/8.7.3) id JAA26897 for kermit.misc@watsun; Mon, 7 Oct 1996 09:42:46 -0400 (EDT)
Path: news.columbia.edu!not-for-mail
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: C-KERMIT on VAX/VMS - what am I doing wrong ???
Date: 7 Oct 1996 09:42:40 -0400
Organization: Columbia University
Lines: 51
Message-ID: <53b1cg$7qn@watsun.cc.columbia.edu>
References: <5394jc$qc2@ezekiel.ieunet.ie>
NNTP-Posting-Host: watsun.cc.columbia.edu
In article <5394jc$qc2@ezekiel.ieunet.ie>,
Eoin Bairead <ebairead@login.ieunet.ie> wrote:
: I've put C-Kermit on a VAX running VMS, to replace Kermit-32,
: and I want to write a simple script to login to a unix box, and
: transfer a file.
:
: So I define CKERMIT as a foreign command and I go:
: $ CKERMIT
:
: C-Kermit>set line ker$comm
: C-Kermit>out \13
: C-Kermit>input 5 login:
: C-Kermit>out username\13
: C-Kermit>input 5 Password:
: C-Kermit>out secret\13
: C-Kermit>input 5 $
: C-Kermit>out ckermit -x\13
: C-Kermit>send myfile.dat
: C-Kermit>finish
: C-Kermit>out exit\13
:
: and that works fine.
:
: so I put the above lines in a file - XFILE.INI
: set line ker$comm
: out \13
: input 5 login:
: out username\13
: input 5 Password:
: out secret\13
: input 5 $
: out ckermit -x\13
: send myfile.dat
: finish
: out exit\13
:
: and I go:
: $ CKERMIT
: C-Kermit>take XFILE.ini
:
: and it falls over - it doesn't seem to want to OUTPUT anything
: and I get "invalid password" messages.
:
You posted this same question about a week ago and I answered it, right?
Once again: try inserting "sleep 1" after "input 5 Password:" and before
"out secret\13".
For a fuller explanation, see the earlier posting, or the manual, "Using